package com.dfbz.service;

import com.dfbz.model.Dept;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface DeptService {
    Dept findById(Integer id);
    ArrayList<Dept> findList();
    void save(Dept dept);
    void deleteById(Integer id);
    void update(Dept dept);

    /**
     * 查询所有部门及员工信息
     * @return
     */
    List<Map<String,Object>> findAll();
}
